package mh.demo.springboot.system;

import org.springframework.boot.system.SystemProperties;

// 系统属性/环境变量访问
public class SystemEnvDemo {

    public void run() {
        System.out.printf("java.home=%s%n", SystemProperties.get("java.home")) ;
    }

}
